mobileCanTrackHeading
Type
function
Summary
Returns true if the device can track the heading using a digital compass, false otherwise.
Syntax
mobileCanTrackHeading()
Description
Use the mobileCanTrackHeading function to check whether the device has the necessary hardware support for tracking the heading using a digital compass.
Examples
get mobileCanTrackHeading()
if mobileCanTrackHeading() is "true" then
answer "The heading can be tracked"
end if
Related
command: mobileStopTrackingSensor, mobileStartTrackingSensor
function: mobileSensorReading
message: trackingError, headingChanged
Compatibility and Support
Introduced
LiveCode 4.6.1
OS
ios
android
Platforms
mobile